.global _start

_start:
	ldr r0, =0x53000000
	mov r1, #0
	str r1, [r0]

	ldr r0, =0x56000010
	ldr r1, =0x15400
	str r1, [r0]

	ldr r1, =0x56000014
	ldr r0 ,=0x1E0
	mov r4, #0
	ldr sp, =4096

loop:
	str r0, [r1]
	bl delay
	str r4, [r1]
	bl delay
	b loop

_delay:
	ldr r3, =0x10000
delay_loop:
	sub r3, r3,#1
	cmp r3, #0
	bne delay_loop
	mov pc, lr

halt:
	b halt
	
	
	
